<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="${base}/statics/lib/html5.js"></script>
<script type="text/javascript" src="${base}/statics/lib/respond.min.js"></script>
<script type="text/javascript" src="${base}/statics/lib/PIE_IE678.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="${base}/statics/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="${base}/statics/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="${base}/statics/lib/icheck/icheck.css" />
<link rel="stylesheet" type="text/css" href="${base}/statics/lib/Hui-iconfont/1.0.7/iconfont.css" />
<style>
	.form-label{float:left;}
	.formControls{float:left;}
	.col-4{float:left;}
	div.spot {
        float: left;
        margin: 0 20px 0 0;
        width: 80px;
        min-height: 80px;
        border: 2px dashed #ddd;
    }
    .droparea {
        position: relative;
        text-align: center;
    }
    .droparea .instructions {
        opacity: 0.8;
        background-color: #cccccc;
        height: 25px;
        z-index: 10;
        zoom: 1;
        background-position: initial initial;
        background-repeat: initial initial;
        cursor: pointer;
    }
    .droparea div, .droparea input {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
    }
    .droparea input {
        cursor: pointer;
        opacity: 0;
    }
    .droparea div, .droparea input {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
    }
    #uparea1,#uparea2,#uparea3{
        height: 80px;
        cursor: pointer;
    }
</style>
</head>
<body>
<div class="pd-20">
  <form action="" method="post" class="form form-horizontal" id="form-edit">
    <div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>规格名称：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="" placeholder="规格名称" id="rule_name" name="rule_name" datatype="*2-16" nullmsg="规格名称不能为空">
      </div>
      <div class="col-4"> </div>
    </div>
    <div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>规格备注：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="" placeholder="规格备注" id="rule_memo" name="rule_memo" >
      </div>
      <div class="col-4"> </div>
    </div>
    <div class="row cl">
      <div class="col-9 col-offset-3">
        <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
      </div>
    </div>
  </form>
</div>
</div>
<script type="text/javascript" src="${base}/statics/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="${base}/statics/lib/icheck/jquery.icheck.min.js"></script> 
<script type="text/javascript" src="${base}/statics/lib/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="${base}/statics/lib/layer/2.1/layer.js"></script>
<script type="text/javascript" src="${base}/statics/h-ui/js/H-ui.js"></script> 
<script type="text/javascript" src="${base}/statics/h-ui.admin/js/H-ui.admin.js"></script>
<script charset="utf-8" src="${base}/statics/kingeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="${base}/statics/kingeditor/zh_CN.js"></script>
<script type="text/javascript" src="${base}/statics/easyui/common.js"></script>
<script type="text/javascript">
$(function(){
	$("#form-edit").Validform({
		tiptype:4,
		ajaxPost:true,
		callback:function(data){
			layer.msg(data.msg);
			if(data.status==1){
				setTimeout(function(){
					var index = parent.layer.getFrameIndex(window.name);
					parent.datagrid();
					parent.layer.close(index);
				},1000);
				
			}
			
		}
	});
});

</script>
</body>
</html>